html {
  overflow-x: hidden;
  min-height: 100%;
  font-size: 20px;
  text-rendering: optimizeLegibility;

  @include media(">=phone") {
    font-size: 24px;
  }

  @include media(">=tablet") {
    font-size: 26px;
  }

  @include media(">=desktop") {
    font-size: 28px;
  }

  @include media(">=large_desktop") {
    font-size: 32px;
  }
}

body {
  font-family: $raleway;
  font-weight: 600;
  line-height: $lineheight-base;
  overflow-x: hidden;
  background-color: $white;
  color: $black;
  height: 100%;
  -webkit-font-smoothing: antialiased;
  text-align: center;
}

h1 {
  font-size: ms(3);
  font-family: $pirata;
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1;

  @include media(">=phone") {
    font-size: ms(4);
  }

  @include media(">=small_desktop") {
    font-size: ms(5);
  }
}

p {
  padding-top: ms(1);
}

a {
  color: $black;
  text-decoration: none;
  transition: color 400ms;
}
